Rename GailMisc to GtkMiscImpl.
gtka11y_c_sources = \
gtkaccessibility.c \
gtkaccessibilityutil.c \
+ gtkaccessibilitymisc.c \
gtkarrowaccessible.c \
gtkbooleancellaccessible.c \
gtkbuttonaccessible.c \
gtktoplevelaccessible.c \
gtktreeviewaccessible.c \
gtkwidgetaccessible.c \
- gtkwindowaccessible.c \
- gailmisc.c
+ gtkwindowaccessible.c
-gail_private_h_sources = \
+gtka11y_private_h_sources = \
gtkarrowaccessible.h \
gtkbooleancellaccessible.h \
gtkbuttonaccessible.h \
gtktreeviewaccessible.h \
gtkwidgetaccessible.h \
gtkwindowaccessible.h \
+ gtkaccessibility.h \
+ gtkaccessibilityutil.h \
+ gtkaccessibilitymisc.h \
gtkcolorswatchaccessible.h \
gtkcellaccessibleprivate.h \
gtklockbuttonaccessibleprivate.h \
gtkiconviewaccessibleprivate.h \
gtktreeviewaccessibleprivate.h \
gtktextviewaccessibleprivate.h \
- gtkwidgetaccessibleprivate.h \
- gtkaccessibility.h \
- gtkaccessibilityutil.h \
- gailmisc.h
+ gtkwidgetaccessibleprivate.h
libgtka11y_la_SOURCES = \
$(gtka11y_c_sources) \
+++ /dev/null
-/* GTK+ - accessibility implementations
- * Copyright 2001, 2002, 2003 Sun Microsystems Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "config.h"
-
-#include <gtk/gtk.h>
-#include "gailmisc.h"
-
-
-G_DEFINE_TYPE (GailMisc, _gail_misc, ATK_TYPE_MISC)
-
-static void
-gail_misc_threads_enter (AtkMisc *misc)
-{
- gdk_threads_enter ();
-}
-
-static void
-gail_misc_threads_leave (AtkMisc *misc)
-{
- gdk_threads_leave ();
-}
-
-static void
-_gail_misc_class_init (GailMiscClass *klass)
-{
- AtkMiscClass *misc_class = ATK_MISC_CLASS (klass);
-
- misc_class->threads_enter = gail_misc_threads_enter;
- misc_class->threads_leave = gail_misc_threads_leave;
-}
-
-static void
-_gail_misc_init (GailMisc *misc)
-{
-}
+++ /dev/null
-/* GTK+ - accessibility implementations
- * Copyright 2001 Sun Microsystems Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GAIL_MISC_H__
-#define __GAIL_MISC_H__
-
-#include <atk/atk.h>
-
-G_BEGIN_DECLS
-
-#define GAIL_TYPE_MISC (_gail_misc_get_type ())
-#define GAIL_MISC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MISC, GailMisc))
-#define GAIL_MISC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_TYPE_MISC, GailMiscClass))
-#define GAIL_IS_MISC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIL_TYPE_MISC))
-#define GAIL_IS_MISC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIL_TYPE_MISC))
-#define GAIL_MISC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIL_TYPE_MISC, GailMiscClass))
-
-typedef struct _GailMisc GailMisc;
-typedef struct _GailMiscClass GailMiscClass;
-
-struct _GailMisc
-{
- AtkMisc parent;
-};
-
-struct _GailMiscClass
-{
- AtkMiscClass parent_class;
-};
-
-GType _gail_misc_get_type (void);
-
-G_END_DECLS
-
-#endif /* __GAIL_MISC_H__ */
#include "gtkaccessibility.h"
#include "gtkaccessibilityutil.h"
+#include "gtkaccessibilitymisc.h"
+
#include "gtkwindowaccessible.h"
#include <stdio.h>
#include <gtk/gtktogglebutton.h>
#include <gtk/gtkcombobox.h>
#include <gtk/gtkaccessible.h>
-#include "gailmisc.h"
#ifdef GDK_WINDOWING_X11
#include <atk-bridge.h>
atk_bridge_adaptor_init (NULL, NULL);
#endif
- atk_misc_instance = g_object_new (GAIL_TYPE_MISC, NULL);
+ atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL);
}
--- /dev/null
+/* GTK+ - accessibility implementations
+ * Copyright 2001, 2002, 2003 Sun Microsystems Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "config.h"
+
+#include <gtk/gtk.h>
+#include "gtkaccessibilitymisc.h"
+
+
+G_DEFINE_TYPE (GtkMiscImpl, _gtk_misc_impl, ATK_TYPE_MISC)
+
+static void
+gtk_misc_impl_threads_enter (AtkMisc *misc)
+{
+ gdk_threads_enter ();
+}
+
+static void
+gtk_misc_impl_threads_leave (AtkMisc *misc)
+{
+ gdk_threads_leave ();
+}
+
+static void
+_gtk_misc_impl_class_init (GtkMiscImplClass *klass)
+{
+ AtkMiscClass *misc_class = ATK_MISC_CLASS (klass);
+
+ misc_class->threads_enter = gtk_misc_impl_threads_enter;
+ misc_class->threads_leave = gtk_misc_impl_threads_leave;
+}
+
+static void
+_gtk_misc_impl_init (GtkMiscImpl *misc)
+{
+}
--- /dev/null
+/* GTK+ - accessibility implementations
+ * Copyright 2001 Sun Microsystems Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_ACCESSIBILITY_MISC_H__
+#define __GTK_ACCESSIBILITY_MISC_H__
+
+#include <atk/atk.h>
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_MISC_IMPL (_gtk_misc_impl_get_type ())
+
+typedef struct _GtkMiscImpl GtkMiscImpl;
+typedef struct _GtkMiscImplClass GtkMiscImplClass;
+
+struct _GtkMiscImpl
+{
+ AtkMisc parent;
+};
+
+struct _GtkMiscImplClass
+{
+ AtkMiscClass parent_class;
+};
+
+GType _gtk_misc_impl_get_type (void);
+
+G_END_DECLS
+
+#endif /* __GTK_ACCESSIBILITY_MISC_H__ */